package com.tgy.myplus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tgy.myplus.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper

public interface UserDao extends BaseMapper<String> {

    @Select("SELECT md5 FROM user WHERE login = #{name}")
    String login(@Param("name") String name);


}
